<?php
return [
//    'consumer'  => [
//        'handler'     => Webman\RedisQueue\Process\Consumer::class,
//        'count'       => 4, // 可以设置多进程同时消费
//        'constructor' => [
//            // 消费者类目录
//            'consumer_dir' => app_path() . '/queue/redis'
//        ]
//    ],
    'ai_image_user'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 5,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/aiimage'
        ]
    ],
   'ai_image_admin'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 5,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/aiimageadmin'
        ]
    ],
    'ai_image_cron'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 5,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/aiimagecron'
        ]
    ],
    'plan_part'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 3,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/planpart'
        ]
    ],
    'user_plan_part_image'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 8,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/userplanpartimage'
        ]
    ],
    'video_part'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 8,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/videopart'
        ]
    ],
   'article_part'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 8,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/articlepart'
        ]
    ],
    'generated_work'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 8,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/generatedwork'
        ]
    ],
    'generated_oversea_work'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 8,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/generatedoverseawork'
        ]
    ],
    'batch_generate_plan'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 1,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/batchgenerateplan'
        ]
    ],
    'generate_timbre'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 5,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/timbre'
        ]
    ],
    'plan_part_image'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 3,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/planpartimage'
        ]
    ],
   'refund_order_deal'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 1,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/refunddealwith'
        ]
    ],
   'oceanengine'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 1,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/oceanengine'
        ]
    ],
    'videomaterial'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 8,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/videomaterial'
        ]
    ],
   'planpartimage'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 1,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/generatedplanpartimage'
        ]
    ],
   'tool_generated_content'  => [
        'handler'     => Webman\RedisQueue\Process\Consumer::class,
        'count'       => 5,
        'constructor' => [
            // 消费者类目录
            'consumer_dir' => app_path() . '/queue/tool'
        ]
    ],

];